﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using W.Common;

namespace W.Warehouse.Domain
{
    /// <summary>
    /// 入库产品信息
    /// </summary>
    public class StorageProducts: BaseModel
    {
        /// <summary>
        /// 入库产品信息id
        /// </summary>
        [Key]
        public int StorageProductsId { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string? ProductName { get; set; }
        /// <summary>
        /// 产品编码
        /// </summary>
        public string? ProductNo { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        public string? ProductSpec { get; set; }
        /// <summary>
        /// 批次
        /// </summary>
        public string? Batch {  get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public decimal? Price { get; set; }
        /// <summary>
        /// 入库数
        /// </summary>
        public int? StorageNum   { get; set; }
        /// <summary>
        /// 总价
        /// </summary>
        public decimal? TotalPrice { get; set; }
        /// <summary>
        /// 库位
        /// </summary>
        public string? BinLocationName { get; set; }
        /// <summary>
        /// 公司Id
        /// </summary>
        public string? office_id { get; set; }
        /// <summary>
        /// 用户Id
        /// </summary>
        public int? user_id {  get; set; }
        /// <summary>
        /// 入库id
        /// </summary>
        public int? StorageId { get; set; }
    }
}
